package com.annotation.demo1;

/**
 * @ClassName StudentTest
 * @Description TODO
 * @Author Kx
 * @Date 2025/3/28 11:46
 * @Version 1.0
 */
public class StudentTest {
    public static void main(String[] args) {
        // 实例化对象
        Student student1 = new Student("张三", 20);
        System.out.println(student1);

        Student student2 = new Student("张三", 15);
        System.out.println(student2);
    }
}
